package com.hoyue.attendance.bean;


import java.util.Date;

public class Attendance {
    Integer id;

    Integer studentid;

    Integer teachingid;

    Integer state;

    Integer typ;

    Date starttime;

    Integer code;

    Date endtime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStudentid() {
        return studentid;
    }

    public void setStudentid(Integer studentid) {
        this.studentid = studentid;
    }

    public Integer getTeachingid() {
        return teachingid;
    }

    public void setTeachingid(Integer teachingid) {
        this.teachingid = teachingid;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getTyp() {
        return typ;
    }

    public void setTyp(Integer typ) {
        this.typ = typ;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Attendance(Integer id, Integer studentid, Integer teachingid, Integer state, Integer typ, Date starttime, Integer code, Date endtime) {
        this.id = id;
        this.studentid = studentid;
        this.teachingid = teachingid;
        this.state = state;
        this.typ = typ;
        this.starttime = starttime;
        this.code = code;
        this.endtime = endtime;
    }
    public Attendance(){

    }
}